home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
h_v_axes.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
635b
|
26 lines
#ifndef __HORIZ_VERT_AXES_H_
#define __HORIZ_VERT_AXES_H_
#include "axe.h"
enum axes_dir { HORIZ_AXE, VERT_AXE };
enum axes_type { NORMAL_AXE, REVERSE_AXE };
class HV_Axes : public Axe
{
public:
int type;
int dir;
int text_dir;
public:
HV_Axes(int l, double start = 0, double end = 0,
int tick_no = 5, int* t = NULL,
int s_tick_no = 0, int* s = NULL,
char** lab = NULL);
virtual void show_labels(loc);
void set_type(int t, int d, int td = HORIZ_DIR);
virtual loc get_label_pos(loc, int );
virtual void show_axe(loc, int);
};
#endif __HORIZ_VERT_AXES_H_